<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<script type="text/javascript" src="${ctx}/pages/templete/js/validate/cloud.js"></script>

<style>
    .formTable{text-align:left;}

</style>

<form id="form" action="${ctx}/cloud/downloadFile/doApply.do" method="POST" target="_blank" >
    <input type="hidden" name="verficationCode" value="${config.verficationCode }"/>
    <table width="100%" class="formTable">
        <tr>
            <td width="35%" align=right>版本号:</td>
            <td>
                <select id="version" name="version">
                    <option value="2.1" selected="selected">2.1</option>
                </select>
            </td>
        </tr>
        <tr>
            <td align=right>交易代码:</td>
            <td>
                <input type="text" id="tranCode" name="tranCode" value="${config.tranCode}" size="50"/>
            </td>
        </tr>

        <tr>
            <td align=right>企业ID:</td>
            <td>
                <input type="text" id="merchantID" name="merchantID" value="${config.merchantID}" size="50"/>
            </td>
        </tr>
        <tr>
            <td align=right>商户账户号:</td>
            <td>
                <input type="text" id="merAcctNum" name="merAcctNum" value="${config.merAcctNum }" size="50"/>
            </td>
        </tr>
        <tr>
            <td align=right>订单号:</td>
            <td>
                <input type="text" id="merOrderNum" name="merOrderNum" value="${config.merOrderNum }" size="50" />
            </td>
        </tr>
        <tr>
            <td align=right>对账文件日期:</td>
            <td>
                <input type="text" id="checkDate" name="checkDate" value="${config.checkDate }" size="50"/>
            </td>
        </tr>
        <tr>
            <td width="30%" align=right></td>
            <td align=left width="45%">&nbsp;&nbsp;格式为：yyyy-mm-dd，例如：2017-02-21
            <td width="25%" align=left></td>
        </tr>
        <tr>
            <td align=right>对账文件类别:</td>
            <td>
                <input type="text" id="orderType" name="orderType" value="${config.orderType}" size="50"/>
            </td>
        </tr>
        <tr>
            <td align=right>文件类型:</td>
            <td>
                <input type="text" id="fileType" name="fileType" value="${config.fileType}" size="50"/>
            </td>
        </tr>
        <tr>
            <td align=right>编码方式:</td>
            <td><input type="text" id="charset" name="charset" value="2"
                       size="50" /></td>
        </tr>
        <tr>
            <td width="30%" align=right></td>
            <td align=left width="45%">&nbsp;&nbsp;1 GBK 2 UTF-8
            <td width="25%" align=left></td>
        </tr>
        <tr>
            <td align=right>请求时间:</td>
            <td><input type="text" id="reqTime" name="reqTime"
                       value="${config.reqTime }" size="50" /></td>
        </tr>
        <tr>
            <td align=right>签名类型:</td>
            <td><input type="text" id="signType" name="signType"
                       value="${config.signType }" size="50" /></td>
        </tr>
        <tr>
            <td width="30%" align=right></td>
            <td align=left width="45%">&nbsp;&nbsp;1.md5 2.sha 3.api
            <td width="25%" align=left></td>
        </tr>
        <tr>
            <td colspan=3 width="100%">
                <center>
                    <input type="submit" name="submit" id="submit" value="开始测试" />
                </center>
            </td>
        </tr>


    </table>
</form>